﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using MOJsdk;

namespace AndroidRemote
{
    public class Plugin : IPlugIn
    {
        #region IPlugin
        public string PluginDeveloper { get { return "Davidblkx"; } }
        public string PluginVersion { get { return "1"; } }
        public string PluginName { get { return "AndroidRemote"; } }
        public string PluginWeb { get { return "http://moj.codeplex.com"; } }
        public string PluginDescription { get { return "Control MOJ from android"; } }
        public IEnumerable<string> LinkedFiles
        { get { return null; } }

        public void Inicialize()
        {
            AsyncSocketServer.StartListening();
            INISettings();
        }
        public void Dispose()
        {

        }
        public void Install()
        {

        }
        public void Unistall()
        {

        }
        #endregion

        private void INISettings()
        {
            MojHost.GetHost.AddNewSettingsTabItem("AndroidRemote", new Settings());
        }
    }
}
